
<script language="javascript">

</script>
<style type="text/css">
<!--
.style1 {
	color: #0000FF;
	font-size: 18px;
}
-->
</style>
  <p>&nbsp;</p>
  <table width="938" border="0" cellpadding="0" cellspacing="0" style="border-style:outset;border-color:#BCCBBE;border-width:+3">
  <tr>
    <td width="1050" height="27" style="border-style:outset;border-color:#9DD0CA;border-width:+3"><div align="left">
      <form id="form2" name="form2" method="post" action="">
        <table width="932" border="0" style="border-style:outset;border-color:#9DD0CA;border-width:+8">
          <tr>
            <td width="79"><strong>&nbsp;Tai khoan</strong></td>
            <td width="191"><input name="textfield" type="text" size="30" /></td>
            <td width="51"><strong>Email</strong></td>
            <td width="200"><input name="textfield2" type="text" size="30" /></td>
            <td><input type="button" name="Button" value="Tim" /></td>
            </tr>
        </table>
        </form>
    </div></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td height="27" style="border-style:outset;border-color:#9DD0CA;border-width:+3"><div align="left"><span class="style1">Danh sach thanh vien </span>| <a onclick="themthanhvien()">Them thanh vien</a> </div></td>
  </tr>
  <tr>
    <td><form name="form1" method="post" action="">
      <table width="734" border="0" align="center" cellpadding="1" cellspacing="1" style="border-style:outset;border-color:#9DD0CA;border-width:+8">
        <tr>
          <td width="25" align="center" bgcolor="#0000FF"><div align="left"><strong>xoa</strong></div></td>
          <td width="26" align="center" bgcolor="#0000FF"><div align="left"><strong>Sua</strong></div></td>
          <td width="64" align="center" bgcolor="#0000FF"><div align="left"><strong>stt</strong></div></td>
          <td width="128" align="center" bgcolor="#0000FF"><div align="left"><strong>Tai khoan </strong></div></td>
          <td width="113" align="center" bgcolor="#0000FF"><div align="left"><strong>Mat khau </strong></div></td>
          <td width="157" align="center"  bgcolor="#0000FF"><div align="left"><strong>Ten</strong></div></td>
          <td width="78" align="center"  bgcolor="#0000FF"><div align="left"><strong>gioi tinh </strong></div></td>
          <td width="136" align="center"  bgcolor="#0000FF"><strong>Xem chi ti&#7871;t</strong> </td>
        </tr>
        <?php
require("conn.php");
$bang=mysql_query("SELECT * FROM `thanh_vien`");
$stt=1;
while($rows=mysql_fetch_array($bang))
{
?>
        <tr bgcolor="#FFFFFF" id="no" onclick="">
          <td height="20" ><div align="left"><img name="" src="../hinh/b_drop[1].png" width="16" height="16" alt="" onclick="xoathanhvien('<?php echo $rows["username"];?>')" /></div></td>
          <td><div align="left"><img src="../hinh/b_edit[1].png" width="16" height="16" onclick="suathanhvien('<?php echo $rows["username"];?>')"/></div></td>
          <td><div align="left"><?php echo $stt;?></div></td>
          <td ><div align="left"> <a onclick="return hs.htmlExpand(this)"> <?php echo $rows["username"];?></a></div></td>
          <td><div align="left"><?php echo $rows["pass"];?></div></td>
          <td><div align="left"><?php echo $rows["ten"];?></div></td>
          <td><div align="left"><?php echo $rows["gioitinh"];?></div></td>
          <td><a onclick="return hs.htmlExpand(this)"> Xem </a>
              <div class="highslide-maincontent" style="z-index:2000;display:none;border-style:inset;border-width:2;border-color:#A3A3DA"> <a>Lorem ipsum</a>
                  <table width="400" height="204" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                      <td width="158" rowspan="5">&nbsp;</td>
                      <td width="226" height="23">Ten: <?php echo $rows["ten"];?></td>
                    </tr>
                    <tr>
                      <td height="23">Tai khoan: <a onclick="return hs.htmlExpand(this)"><?php echo $rows["username"];?></a></td>
                    </tr>
                    <tr>
                      <td height="23">Mat khau: <?php echo $rows["pass"];?></td>
                    </tr>
                    <tr>
                      <td height="23">Tien: <?php echo $rows["ten"];?></td>
                    </tr>
                    <tr>
                      <td height="23">Ngay sinh: <?php echo $rows["ngaysinh"];?></td>
                    </tr>
                    <tr>
                      <td height="23">Gioi tinh: <?php echo $rows["gioitinh"];?></td>
                      <td>Di&ecirc;n thoai : <?php echo $rows["dienthoai"];?></td>
                    </tr>
                    <tr>
                      <td height="23">Ngay tro lai: <?php echo $rows["ngaytrolai"];?></td>
                      <td>Email: <?php echo $rows["email"];?></td>
                    </tr>
                    <tr>
                      <td height="23" colspan="2">Mo ta: <?php echo $rows["Mota"];?></td>
                    </tr>
                  </table>
              </div></td>
        </tr>
        <?php
	if($rows=mysql_fetch_array($bang))
	{
	$stt++;
	?>
        <tr bgcolor="#CCFFFF" id="no">
          <td height="20" onclick="xoathanhvien(<?php echo $rows["username"];?>)"><div align="left"><img name="" src="../hinh/b_drop[1].png" width="16" height="16" alt="" onclick="xoathanhvien('<?php echo $rows["username"];?>')"/></div></td>
          <td><div align="left"><img src="../hinh/b_edit[1].png" width="16" height="16" onclick="suathanhvien('<?php echo $rows["username"];?>')"/></div></td>
          <td><div align="left"><?php echo $stt;?></div></td>
          <td><div align="left"><?php echo $rows["username"];?></div></td>
          <td><div align="left"><?php echo $rows["pass"];?></div></td>
          <td><div align="left"><?php echo $rows["ten"];?></div></td>
          <td><div align="left"><?php echo $rows["gioitinh"];?></div></td>
          <td><a onclick="return hs.htmlExpand(this)"> Xem </a>
              <div class="highslide-maincontent" style="z-index:2000;display:none;border-style:inset;border-width:2;border-color:#A3A3DA">
                <table width="400" height="204" border="0" cellpadding="0" cellspacing="0" >
                  <tr>
                    <td width="158" rowspan="5">&nbsp;</td>
                    <td width="226" height="23">Ten: <?php echo $rows["ten"];?></td>
                  </tr>
                  <tr>
                    <td height="23">Tai khoan: <a onclick="return hs.htmlExpand(this)"><?php echo $rows["username"];?></a></td>
                  </tr>
                  <tr>
                    <td height="23">Mat khau: <?php echo $rows["pass"];?></td>
                  </tr>
                  <tr>
                    <td height="23">Tien: <?php echo $rows["ten"];?></td>
                  </tr>
                  <tr>
                    <td height="23">Ngay sinh: <?php echo $rows["ngaysinh"];?></td>
                  </tr>
                  <tr>
                    <td height="23">Gioi tinh: <?php echo $rows["gioitinh"];?></td>
                    <td>Di&ecirc;n thoai : <?php echo $rows["dienthoai"];?></td>
                  </tr>
                  <tr>
                    <td height="23">Ngay tro lai: <?php echo $rows["ngaytrolai"];?></td>
                    <td>Email: <?php echo $rows["email"];?></td>
                  </tr>
                  <tr>
                    <td height="23" colspan="2">Mo ta: <?php echo $rows["Mota"];?></td>
                  </tr>
                </table>
              </div></td>
        </tr>
        <?php
    }
	else
	{
	break;
	}
	$stt++;
	}
	?>
      </table>
    </form></td>
  </tr>
</table>
		


